import { parallelLimit } from "async";
import { request } from "./request";

export function getCategory(){
  return request({
    url:'/category'
  })
}

export function subGetCategory(maitKey){
  return request ({
    url:'/subcategory',
    params:{
      maitKey
    }
  })
}

export function getCategoryDetail(miniWallkey){
  return request({
    url:'/subcategory/detail',
    params:{
      miniWallkey
    }
  })
}